package com.pxst.fx.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @ClassName SysFxOrderChildInfoReq
 * @Author ：hy
 * @Date ：2023-11-01 10:34:48
 * @Description： 新增下发请求类
 * @Version: 1.0
 */
@Data
public class SysFxOrderChildInfoReq {

    /**
     * sys_bank_card id
     */
    @NotNull(message = "系统银行卡信息Id不能为空")
    @ApiModelProperty(value = "系统银行卡信息Id",required = true)
    private Long bcId;

    /**
     * sys_fx_order id
     */
    @NotNull(message = "下发Id不能为空")
    @ApiModelProperty(value = "下发Id",required = true)
    private Long fxId;

    // 金额
    @NotNull(message = "转账金额不能为空")
    @ApiModelProperty(value = "转账金额",required = true)
    private BigDecimal amount;

    // 银行手续费
    @ApiModelProperty(value = "银行手续费",required = false)
    private BigDecimal bankFee;


    @ApiModelProperty("创建方式")
    private Integer createMode;

    /**
     * sys_fx_order_child note
     */
    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("参考")
    private String reference;

    /**
     * sys_fx_order_child txn_Mode
     */
    @ApiModelProperty("交易种类")
    private Integer txnMode;
}
